package com.black.app.service.store;

import com.black.app.domain.req.store.add.AppStoreProductsAddReq;
import com.black.app.domain.req.store.edit.AppStoreProductsEditReq;
import com.black.app.domain.req.store.query.AppStoreProductsQueryReq;
import com.black.app.domain.resp.store.AppStoreProductsResp;
import com.black.app.domain.store.AppStoreProducts;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
* @author 12572
* @description 针对表【app_store_products】的数据库操作Service
* @createDate 2024-10-28 16:39:25
*/
public interface AppStoreProductsService extends IService<AppStoreProducts> {

    PageInfo<AppStoreProductsResp> paginationQuery(AppStoreProductsQueryReq req);

    List<AppStoreProductsResp> findByCidAll(Integer categoryId);

    List<AppStoreProductsResp> findById(Long id);

    boolean add(AppStoreProductsAddReq req);

    boolean deleteById(Long[] ids);

    boolean edit(AppStoreProductsEditReq req);
}
